home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 19 / q19.d81 / t.daybase iii < prev    next >
Text File  |  2022-08-28  |  5KB  |  89 lines

  1.  
  2.                              D A Y B A S E    I I I
  3.  
  4.                              A Three-Year Calendar
  5.  
  6.                                 by Dick Heckert
  7.  
  8.  
  9. IMPORTANT NOTE: DAYBASE III automatically writes a RELative file to the disk
  10. in the current drive as soon as you enter a year, month and date, as you are
  11. asked to do at the beginning of the program.  We recommend that you copy
  12. DAYBASE III to a blank, formatted disk before using.  If you must see what
  13. it's like from LOADSTAR, don't enter any date past 1-20-1993.  The RELative
  14. file created on the disk will be about 20 blocks long, which is just about
  15. the blocks free on Side Two.  If you use a later date, you'll get a blinking
  16. drive light, a hung program, and a 0-block RELative file.
  17.  
  18.  
  19.      I needed a way to remind myself when I had an appointment with the
  20. doctor and the old Print Shop calendar wasn't doing the job.  I had been
  21. working with RELative files for the past few months, so it made sense to use
  22. this file method for a calendar program where I would be adding data one day
  23. at a time, and where fast, random access was essential.  Hence, DAYBASE III,
  24. the three-year calendar on a disk.
  25.  
  26.      Just put DAYBASE III as the first program on your fastest disk drive --
  27. it really flies in RAMLink -- and whenever you need to check an appointment
  28. or birthday, just press SHIFT-RUN and there it is.
  29.  
  30.      First is the INPUT mode where you are asked for the year.  You can
  31. enter 1993, 1994, or 1995 (or just 93 or even just 3).  Next, you enter the
  32. number of the month and immediately the calendar for that month is shown on
  33. the screen.  The holidays and Sundays are shown in yellow.  Next, enter the
  34. date, and that record is brought from the disk file so you can read or edit.
  35.  
  36.      Copy DAYBASE III to a disk with plenty of blocks free.  A three-year
  37. calendar takes 858 blocks of disk space not counting the program, so if you
  38. have a 1541 you will need to divide up your calendar years on both sides of
  39. the disk.  I recommend you choose 1993 first, 12 (December) next, and 31 for
  40. the date, but only on a disk with hundreds of free blocks -- not on LOADSTAR
  41. 128.  The disk operating system will then block out the entire file for 1993
  42. in continuous records.  You can then repeat for 1994 and 1995, with 1995
  43. going on the back of the 1541 disk or on another disk.  The way it works is:
  44. Whatever date you enter, the RELative file will be built for the first day
  45. of that year up to that date, so you may as well use December 31 and have
  46. the whole year created right away.  That way the RELative file won't have to
  47. be extended again for that year.
  48.  
  49.      If there is no data in the record for a date, you will see a little
  50. checkerboard, character 255, that the disk operating system puts there to
  51. indicate a new record.  Anytime you access a record for the first time, it
  52. will be there.
  53.  
  54.      You enter, or EDIT, data by pressing E.  There are six lines with a
  55. maximum of 30 characters per line available.  I've used a free-form entry
  56. window -- the kind Fender likes -- which allows you to move the cursor
  57. anywhere within the area.  You may use INSerT, DELete, the CRSR keys, even
  58. CLeaR and HOME.  The ESCape codes work, too.  This way you can get the
  59. window looking just like you want, then press F1 when finished.  Notice that
  60. there is no word-wrap, but with all of the editing power the C-128 gives
  61. you, you won't need word-wrap.  Remember, to get out of the insert mode, use
  62. ESC"o".
  63.  
  64.      Pressing + or - will advance to the next or last date in the current
  65. month.  To move to another month or to another date, press ESC (the escape
  66. key at the top left of the keyboard) and enter the new year, month and date.
  67.  
  68.      You can print out the coming week of appointments by pressing P in
  69. command mode.  First, move to the month of interest, and then press P. 
  70. Enter the starting date, set your printer to at the top of the page and
  71. ready to receive CBM PETASCII.  Press any key and the 7 day calendar will be
  72. printed.  You can start on Monday, Wednesday or whenever.  You can run into
  73. the next month, or even into the next year (Dec 25, 1993 to Jan 1994).  If
  74. you start in late December 1995, it will stop printing at December 31.  When
  75. there is no data in the record for a date except the DOS character, the
  76. printer will print the date and give you six blank lines for your notes.  Be
  77. sure to erase or add data on the first line of a record so the printer will
  78. not skip to the next date. 
  79.  
  80. DH
  81.  
  82. FENDER'S POSTSCRIPT:  DAYBASE III is not fancy but it's fast and does the
  83. job very well.  I have it on my RAMLink and everything is practically
  84. instantaneous.  The Run It program was compiled with the Abacus 128 compiler
  85. but the BASIC source code is on the disk, "daybase iii.bas".  Feel free to
  86. study the code and even change it...except for the copyright box, of course.
  87.  
  88.                      **** R - Run    RETURN - Menu ****                     
  89.